import App from './App'
// import config  from './vue.config.js'
// import '/utils'// 需要集成导出文件

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import imagePath from '@/utils/imagePath.js'//全局引入照片
import UninavBar from '@/components/UninavBar'//全局引入照片
Vue.config.productionTip = false
Vue.prototype.$imagePath = imagePath;
// Vue.prototype.$config = config; // 绑定到 Vue 实例
// 全局挂载
Vue.component('UninavBar', UninavBar);
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif